{if condition="session('user_id') neq null"}
<div style="width:100%;height:40px;line-height: 40px;">
    <div style="float:right; margin-right:20px;"><a href="/index/account/logout">退出</a></div>
    <div style="float:right;margin-right:10px;">你好：{:session('user_mobile')}</div>
    <div style="clear:both;"></div>
</div>
{/if}
